package com.college.authority.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.college.common.pojo.ao.TRoleAction;
import com.college.common.pojo.ao.TRoleActionAndRid;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 小C工作室
 * @description 针对表【t_role_action】的数据库操作Mapper
 * @createDate 2022-06-08 15:17:18
 * @Entity com.tool.common.pojo.ao.TRoleAction
 */
@Repository
public interface TRoleActionMapper extends BaseMapper<TRoleAction> {
	List<TRoleAction> getActionListByRoleId(Long roleId);

	Boolean saveAction(TRoleAction tRoleAction);

	Boolean updateAction(TRoleAction tRoleAction);

	List<TRoleActionAndRid> getActionListByRoleIds(List<Long> ids);
}




